<template>
  <div>
    <el-table :data="tableDataList" style="width: 100%" border>
      <!-- 结构分类 -->
      <el-table-column prop="category" label="结构分类"></el-table-column>
      <!-- 销售金额 -->
      <el-table-column prop="salesAmount" label="销售金额"></el-table-column>

      <!-- 销售金额占比（占全品类） -->
      <el-table-column
        prop="salesAmountRatio"
        label="销售金额占比（占全品类）"
      ></el-table-column>

      <!-- 老品销售额占比一级类目 -->
      <el-table-column
        prop="oldInFirstLevelAmountRatio"
        label="老品销售额占比一级类目"
      ></el-table-column>

      <!-- 销售件数 -->
      <el-table-column prop="salesNumber" label="销售件数"></el-table-column>

      <!-- 销售件数占比 -->
      <el-table-column
        prop="salesNumberRatio"
        label="销售件数占比"
      ></el-table-column>
      <!-- 老品销售数量占比一级类目 -->
      <el-table-column
        prop="oldInFirstLevelNumberRatio"
        label="老品销售数量占比一级类目"
      ></el-table-column>

      <!-- 件均单价 -->
      <el-table-column prop="avgSalePrice" label="件均单价"></el-table-column>

      <!-- 折扣率 -->
      <el-table-column prop="discountRate" label="折扣率"></el-table-column>

      <!-- 退货率 -->
      <el-table-column prop="returnRate" label="退货率"></el-table-column>

      <!-- 售罄率 -->
      <el-table-column prop="sellOutRate" label="售罄率"></el-table-column>

      <!-- 商品访客数 -->
      <el-table-column prop="visitors" label="商品访客数"></el-table-column>
      <!-- 访客数占总比 -->
      <el-table-column
        prop="visitorsRatio"
        label="访客数占总比"
      ></el-table-column>
      <!-- 支付转化率 -->
      <el-table-column
        prop="payConversionRate"
        label="支付转化率"
      ></el-table-column>
    </el-table>
  </div>
</template>
      <script>
export default {
  props: {
    tableDataList: {
      type: Array,
      default: () => [],
    },
  },
};
</script>